Skip to content

Upgrade manylinux container from 2_17 to 2_28#1068

Merged
trunk-io[bot] merged 1 commit intomainfrom
dylan/update-manylinux-containers
Apr 13, 2026
Merged

Upgrade manylinux container from 2_17 to 2_28#1068
trunk-io[bot] merged 1 commit intomainfrom
dylan/update-manylinux-containers

Conversation

@dfrankland
Copy link
Copy Markdown
Member

@dfrankland dfrankland commented Apr 13, 2026

Summary

Updates the manylinux container from 2_17 (manylinux2014, glibc 2.17) to 2_28 (manylinux_2_28, glibc 2.28).

This also removes the stub_gen workaround from #1067 since it's no longer needed with the newer container.

Problem

GitHub recently updated ubuntu-latest runners with a newer glibc. The old manylinux2014 container has glibc 2.17 which can't run binaries built on ubuntu-latest, causing:

/lib64/libc.so.6: version `GLIBC_2.34' not found

Solution

Upgrade to manylinux_2_28 which has glibc 2.28, compatible with ubuntu-latest. This is simpler than the conditional stub_gen workaround.

Breaking Change

This drops support for systems that require manylinux2014 (e.g., AWS Glue).

Test plan

  • Verify pyo3 linux builds pass for both x86_64 and aarch64

🤖 Generated with Claude Code

@trunk-io
Copy link
Copy Markdown

trunk-io bot commented Apr 13, 2026

😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details.

@dfrankland dfrankland force-pushed the dylan/update-manylinux-containers branch from 8539149 to 94ff758 Compare April 13, 2026 18:35
@dfrankland dfrankland changed the base branch from main to dylan/fix-ruby-gem-release-frozen-mode April 13, 2026 18:35
Update from manylinux2014 (glibc 2.17) to manylinux_2_28 (glibc 2.28).
This fixes glibc mismatch issues when building on ubuntu-latest which
has a newer glibc than the old manylinux2014 container.

Note: This drops support for older systems that require manylinux2014
(e.g., AWS Glue). If Glue support is needed, see PR #1067 for an
alternative fix that preserves manylinux2014 compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dfrankland dfrankland force-pushed the dylan/update-manylinux-containers branch from 94ff758 to 4bc0c4f Compare April 13, 2026 18:38
@dfrankland dfrankland changed the base branch from dylan/fix-ruby-gem-release-frozen-mode to main April 13, 2026 18:38
@trunk-staging-io
Copy link
Copy Markdown

trunk-staging-io bot commented Apr 13, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.96%. Comparing base (e1df96d) to head (4bc0c4f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1068      +/-   ##
==========================================
+ Coverage   81.70%   81.96%   +0.26%     
==========================================
  Files          69       69              
  Lines       14878    14878              
==========================================
+ Hits        12156    12195      +39     
+ Misses       2722     2683      -39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@trunk-io
Copy link
Copy Markdown

trunk-io bot commented Apr 13, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@trunk-io trunk-io bot merged commit b43a977 into main Apr 13, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants